package com.fsserver.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 支付订单实体类
 * Payment Order Entity
 *
 * @author fsserver
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("payment_order")
public class PaymentOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     * Order number
     */
    private String orderNo;

    /**
     * 业务订单号
     * Business order number
     */
    private String businessOrderNo;

    /**
     * 订单金额
     * Order amount
     */
    private BigDecimal amount;

    /**
     * 订单币种
     * Order currency
     */
    private String currency;

    /**
     * 订单状态
     * Order status
     */
    private String status;

    /**
     * 订单标题
     * Order title
     */
    private String title;

    /**
     * 订单描述
     * Order description
     */
    private String description;

    /**
     * 用户ID
     * User ID
     */
    private Long userId;

    /**
     * 用户名称
     * User name
     */
    private String userName;

    /**
     * 用户IP
     * User IP
     */
    private String userIp;

    /**
     * 通知URL
     * Notify URL
     */
    private String notifyUrl;

    /**
     * 返回URL
     * Return URL
     */
    private String returnUrl;

    /**
     * 过期时间
     * Expiration time
     */
    private Date expirationTime;

    /**
     * 支付时间
     * Payment time
     */
    private Date paymentTime;

    /**
     * 关闭时间
     * Close time
     */
    private Date closeTime;

    /**
     * 备注
     * Remarks
     */
    private String remarks;
} 